{% extends "base.html" %}
{% block title %}
{{article["title"]}}
{% end %}
{% block header %}
<link href="/static/css/pygments.css" rel="stylesheet">
{% end %}

{% autoescape None %}

{% block left_block %}
<div class="article-full">
    <div class="article-title" id="article_title">{{article["title"]}}</div>
    <p></p>

    <!--<div class="article-time text-info">发表时间：{{article["time"]}}-->
    <!--{% if article.has_key("modify_time") %}-->
    <!--&nbsp;&nbsp;&nbsp;最后更新：{{article["modify_time"]}}-->
    <!--{% end %}-->
    <!--</div>-->
    <div class="article-infos">
        <span class="article-info"><span
                class=" glyphicon glyphicon-time"></span><span>{{article["time"]}}</span></span>
        <span class="article-info"><span class="glyphicon glyphicon-eye-open"></span><span>{% if article.has_key("visit_count") %} {{ article["visit_count"]}} {% else %} 0 {% end %}浏览</span></span>
        <span class="article-info"><a href="/"><span
                class="glyphicon glyphicon-comment"></span><span>0评论</span></a></span>

    </div>
    <div class="article_content">{{article["content"]}}</div>

    <div class="article_comment">

        <form class="form-horizontal" role="form">
            <div class="form-group">
                <label for="firstname" class="col-md-3 control-label">您的大名</label>

                <div class="col-sm-8">
                    <input type="text" class="form-control" id="comment_name" name="comment_name"
                           placeholder="请输入您的名字">
                </div>
            </div>
            <div class="form-group">
                <label for="lastname" class="col-md-3 control-label">您的网址链接</label>

                <div class="col-sm-8">
                    <input type="text" class="form-control" id="comment_url" name="comment_url"
                           placeholder="请输入您的主页网址">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">评论內容</label>

                <div class="col-md-8">
                    <textarea class="form-control" rows="10"
                              placeholder="评论内容" name="content"></textarea>
                </div>
            </div>
            <div class="form-group">
                <div class="col-md-offset-2 col-md-10">
                    <div class="checkbox">
                        <label>
                            <input type="checkbox"> 请记住我
                        </label>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <div class="col-md-offset-2 col-md-10">
                    <button type="submit" class="btn btn-default">发表评论</button>
                </div>
            </div>
        </form>
    </div>
</div>
{% end %}

{% block right_block %}

{% end %}
